Skip to content

feat(security): Deny free-text MCP parameters that can carry a secret - #7049

Merged
dan-petty merged 2 commits into
mainfrom
fix/3230-mcp-free-text-params
Nov 25, 2026
Merged

dan-petty merged 2 commits into
mainfrom
fix/3230-mcp-free-text-params

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

The MCP guard of #3222 finds a secret parameter by the words of its name, so a parameter whose name says nothing about a secret passes it. Issue #3230 names two published parameters, sandbox_deploy.env and valkey_set.value, whose free text a model writes and a person can fill with a secret. SECURITY.md rule 12 says that a tool publishes no parameter that takes a secret value.

Closes #3230

Change: openspec/changes/archive/2026-11-25-3230-decide-the-free-text-mcp-parameters/

@dan-petty dan-petty added type/feature Type feature: a new function scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault labels Nov 25, 2026
@dan-petty
dan-petty marked this pull request as ready for review November 25, 2026 02:20
@dan-petty
dan-petty merged commit f75ece3 into main Nov 25, 2026
28 checks passed
@dan-petty
dan-petty deleted the fix/3230-mcp-free-text-params branch November 25, 2026 02:23
dan-petty-release Bot added a commit that referenced this pull request Nov 25, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.213.0](v0.212.0...v0.213.0)
(2026-11-25)


### Features

* **cli:** add the tool pass-through registry and its ADR
([#7047](#7047))
([85f53f2](85f53f2))
* **security:** Deny free-text MCP parameters that can carry a secret
([#7049](#7049))
([f75ece3](f75ece3))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope/security Security linters (trivy, bandit, gitleaks, kubeconform) and Vault type/feature Type feature: a new function

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(security): decide the free-text MCP parameters that can carry a secret

1 participant